Login Demo

A typical login page used as the initial demonstration of TAME.

Authoring Information

  • Source File: Step 7 Sequences.xlsx
  • Author: D. Harry Beast
  • Company: TAME
  • File Date: 5/17/2020 7:57:17 PM

Run Settings

  • BaseURL
    • https://login.demos.tametest.com

1. Logged Out Homepage

Case Setup
  open /
Step 1: Login Page
Start: I am on the logged out homepage
Event: Click the Log In link in the upper right corner
  click ID NavbarLoginLink
Step 2: Successful Login
Start: I am on the Login page
Conditions:
  • There is a user in good standing with ID gary@tametest.net
  • The user gary@tametest.net has password Test.123
Input:
Type "gary@tametest.net" into the User ID field
  type ID UserID "gary@tametest.net"
Type "Test.123" into the Password field
  type ID Password "Test.123"
Event: Click the blue Log In button
  click ID LoginButton
Step 3: Logged Out Homepage
Start: I am on the logged in homepage
Event: Click the Hello link in the upper right corner, then select the Log Out menu item
  click ID NavbarHelloLink
  click ID NavbarLogOutLink

2. Bad Login Error (User's Password=wrong password)

Case Setup
  open /
Step 1: Login Page
Start: I am on the logged out homepage
Event: Click the Log In link in the upper right corner
  click ID NavbarLoginLink
Step 2: Bad Login Error (User's Password=wrong password)
Start: I am on the Login page
Conditions:
  • There is a user in good standing with ID gary@tametest.net
  • The user gary@tametest.net does not have password Bad-456
Input:
Type "gary@tametest.net" into the User ID field
  type ID UserID "gary@tametest.net"
Type "Bad-456" into the Password field
  type ID Password "Bad-456"
Event: Click the blue Log In button
  click ID LoginButton
Check:
I am told that I can't log in
  verify text ID InstructionMessage "We can’t log you in with this email address and password."

3. Bad Login Error (User=no user with this ID)

Case Setup
  open /
Step 1: Login Page
Start: I am on the logged out homepage
Event: Click the Log In link in the upper right corner
  click ID NavbarLoginLink
Step 2: Bad Login Error (User=no user with this ID)
Start: I am on the Login page
Conditions:
  • There is no user with ID charlie@tametest.net
Input:
Type "charlie@tametest.net" into the User ID field
  type ID UserID "charlie@tametest.net"
Type "Test.123" into the Password field
  type ID Password "Test.123"
Event: Click the blue Log In button
  click ID LoginButton
Check:
I am told that I can't log in
  verify text ID InstructionMessage "We can’t log you in with this email address and password."

4. User ID not email error

Case Setup
  open /
Step 1: Login Page
Start: I am on the logged out homepage
Event: Click the Log In link in the upper right corner
  click ID NavbarLoginLink
Step 2: User ID not email error
Start: I am on the Login page
Input:
Type "not_an_email" into the User ID field
  type ID UserID "not_an_email"
Type "Test.123" into the Password field
  type ID Password "Test.123"
Event: Click the blue Log In button
  click ID LoginButton
Check:
I am told the User ID is not in the form of an email address
  verify text ID UserID-error "The User ID field is not a valid e-mail address."

5. Missing User ID Error

Case Setup
  open /
Step 1: Login Page
Start: I am on the logged out homepage
Event: Click the Log In link in the upper right corner
  click ID NavbarLoginLink
Step 2: Missing User ID Error
Start: I am on the Login page
Input:
Leave the User ID blank
  type ID UserID
Type "Test.123" into the Password field
  type ID Password "Test.123"
Event: Click the blue Log In button
  click ID LoginButton
Check:
I am told the User ID is required
  verify text ID UserID-error "The User ID field is required."

6. Missing Password Error

Case Setup
  open /
Step 1: Login Page
Start: I am on the logged out homepage
Event: Click the Log In link in the upper right corner
  click ID NavbarLoginLink
Step 2: Missing Password Error
Start: I am on the Login page
Input:
Type "gary@tametest.net" into the User ID field
  type ID UserID "gary@tametest.net"
Leave the Password blank
  type ID Password
Event: Click the blue Log In button
  click ID LoginButton
Check:
I am told the Password is required
  verify text ID Password-error "The Password field is required."